a = int(input("ВВВВедите 4значное число:"))
square = 0
nosquare =  0
d = a % 10
if a <= 999 or a > 9999:
    print("ERROR")
else:
    print("ENTRANCE MAY BE PROHIBITED")
    if a % 2 == 0:
        print("EVEN NUMBER")
    else:
        print("ODD NUMBAH")
    if a % 3 == 0:
        print("Кратное 3ем")
    else:
        print("Кратное не 3ем")
    for nosquare in range(30, 100):
        if nosquare ** 2 == a:
            square += nosquare
            print(square)
     min_digit(a):
        print(min_digit(a))
